package model

// Kratos hello kratos.
type Kratos struct {
	Hello string
}

type Article struct {
	ID      int64
	Content string
	Author  string
}

// 新增---------------------------------------------

type Promotions struct {
	ID                int    `gorm:"column:id" db:"column:id" json:"id" form:"id"`
	PromotionsContent string `gorm:"column:promotions_content" db:"column:promotions_content" json:"promotions_content" form:"promotions_content"`
	CreateTime        string `gorm:"column:create_time" db:"column:create_time" json:"create_time" form:"create_time"`
	Status            int64  `gorm:"column:status" db:"column:status" json:"status" form:"status"`
}

type Order struct {
	ID                int64  `gorm:"column:id" db:"column:id" json:"id" form:"id"`
	Mobile            string `gorm:"column:mobile" db:"column:mobile" json:"mobile" form:"mobile"`
	PromotionsId      int    `gorm:"column:promotions_id" db:"column:promotions_id" json:"promotions_id" form:"promotions_id"`
	PromotionsContent string `gorm:"column:promotions_content" db:"column:promotions_content" json:"promotions_content" form:"promotions_content"`
	CreateTime        string `gorm:"column:create_time" db:"column:create_time" json:"create_time" form:"create_time"`
	Status            int    `gorm:"column:status" db:"column:status" json:"status" form:"status"`
}
